#!/usr/bin/env python
# -*- coding: utf-8 -*-

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# Generated with glade2py script
# glade2py script can be found at hocr web site http://hocr.berlios.de

import pygtk
pygtk.require('2.0')

import gtk, gtk.glade

class MainWindow:
    def __init__(self):
        # create widget tree ...
        xml = gtk.glade.XML('gtktombo.glade')

        # connect handlers
        xml.signal_autoconnect(self)

        # widgets
        self.window1 = xml.get_widget('window1')
        self.vbox1 = xml.get_widget('vbox1')
        self.menubar1 = xml.get_widget('menubar1')
        self.menuitem1 = xml.get_widget('menuitem1')
        self.menu1 = xml.get_widget('menu1')
        self.imagemenuitem1 = xml.get_widget('imagemenuitem1')
        self.imagemenuitem2 = xml.get_widget('imagemenuitem2')
        self.imagemenuitem3 = xml.get_widget('imagemenuitem3')
        self.imagemenuitem4 = xml.get_widget('imagemenuitem4')
        self.separatormenuitem1 = xml.get_widget('separatormenuitem1')
        self.imagemenuitem5 = xml.get_widget('imagemenuitem5')
        self.menuitem2 = xml.get_widget('menuitem2')
        self.menu2 = xml.get_widget('menu2')
        self.imagemenuitem6 = xml.get_widget('imagemenuitem6')
        self.imagemenuitem7 = xml.get_widget('imagemenuitem7')
        self.imagemenuitem8 = xml.get_widget('imagemenuitem8')
        self.imagemenuitem9 = xml.get_widget('imagemenuitem9')
        self.menuitem3 = xml.get_widget('menuitem3')
        self.menuitem4 = xml.get_widget('menuitem4')
        self.menu3 = xml.get_widget('menu3')
        self.imagemenuitem10 = xml.get_widget('imagemenuitem10')
        self.toolbar1 = xml.get_widget('toolbar1')
        self.new = xml.get_widget('new')
        self.save = xml.get_widget('save')
        self.copy = xml.get_widget('copy')
        self.btn_paste = xml.get_widget('btn_paste')
        self.hpaned1 = xml.get_widget('hpaned1')
        self.scrolledwindow2 = xml.get_widget('scrolledwindow2')
        self.tree_notes = xml.get_widget('tree_notes')
        self.scrolledwindow1 = xml.get_widget('scrolledwindow1')
        self.text_note = xml.get_widget('text_note')

    # signal handlers

# run main loop
def main():
    main_window = MainWindow()
    main_window.window1.show()
    gtk.main()

if __name__ == "__main__":
    main()

